package org.gfix.parser;

import org.gfix.exception.FixException;

/**
 * Defines the handling code for a given fix Tag.
 * @author alan
 *
 */
public interface FixHandler extends FixErrorHandler{

	/**
	 * 
	 * @param tag the Tag identifier
	 * @param contents The contents of the tag
	 * @throws FixException Thrown by the handler if it cannot
	 * handle the tag.
	 */
	public void newTag(int tag, String contents) throws FixException;

}
